<div class="main-link">
	<h3>分类</h3>
	<ul>
	{% for category in categories %}
		<li>
			<a class="share-category" href="/share/category/{{category.name}}" title="{{category.description}}">{{category.title}}</a>
		</li>
	{% endfor %}
	</ul>
</div>


<div class="main-link">
	<h3>操作</h3>
	<ul>
		{% if self.is_admin %}
		<li>
			<a class="share-category" href="/share/create/share" title="发布">添加新连接</a>
		</li>
		<li>
			<a class="share-category" href="/share/create/category" title="分类">添加新分类</a>
		</li>
		{% endif %}
		<li>
			{% if self.is_login %}
				<a class="share-category" href="/logout" title="注销">注销</a>
			{% else %}
				<a class="share-category" href="/login" title="登录">登录</a>
			{% endif %}
		</li>
	</ul>
</div>

<div class="main-link">
	<h3>连接</h3>
	<ul>
		<li>
			<a target="_blank" class="share-category" href="http://pythias.appspot.com" title="团购导航">团购导航</a>
		</li>
		<li>
			<a class="share-category" href="#" title="分享">分享</a>
		</li>
		<li>
			<a target="_blank" class="share-category" href="http://cycling-boy.appspot.com" title="博客">博客</a>
		</li>
		<li>
			<a target="_blank" class="share-category" href="http://py-files.appspot.com" title="相册">相册</a>
		</li>		
		<li>
			<a target="_blank" class="share-category" href="http://py-movie.appspot.com" title="电影">电影</a>
		</li>
	</ul>
</div>